package com.shiro.test.mvc.mapper;

import com.shiro.test.mvc.dao.IBaseDao;
import com.shiro.test.mvc.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper extends IBaseDao{

    User getUserByEmail(String email);

    List<User> getUserList();

    void addUserRole(Map param);

    void deleteUserRole(Integer userId);

    List<Integer> getUserRoles(int userId);

    List<Integer> getAssignUsers(User user);
}